/**
 * @projectName study-note
 * @package Iterator
 * @className Iterator.Iterator
 */
package Iterator;

/**
 * Iterator
 * @description 迭代器接口
 * @author answer_wx
 * @date 2022/7/4 10:51
 * @version 1.0
 */
public interface Iterator<T> {
    T first();

    T next();

    T current();

    boolean isDone();
}